//package com.example.ahlf.ui;
//
//import java.util.ArrayList;
//import java.util.List;
//
//import com.example.ahlf.BaseActivity;
//import com.example.ahlf.R;
//
//
//import android.app.Activity;
//import android.content.Intent;
//import android.os.Bundle;
//import android.support.v4.app.Fragment;
//import android.support.v4.app.FragmentManager;
//import android.support.v4.app.FragmentPagerAdapter;
//import android.support.v4.view.PagerAdapter;
//import android.support.v4.view.ViewPager;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
//import android.view.View.OnClickListener;
//import android.widget.Adapter;
//import android.widget.TextView;
//
//public class GuideActivity extends Activity{
//
//	private ViewPager viewPager_guide;
//	private TextView tv_enter;
//	private GuideActivity activity;
//	private GuideAdapter adapter;
//	private int index=0;
////	@Override
////	protected void setContentView() {
////		// TODO Auto-generated method stub
////		setContentView(R.layout.activity_guide);
////		viewPager_guide = (ViewPager) findViewById(R.id.viewPager_guide);
////	}
//
//	@Override
//	protected void onCreate(Bundle savedInstanceState) {
//		// TODO Auto-generated method stub
//		super.onCreate(savedInstanceState);
//		setContentView(R.layout.activity_guide);
//		viewPager_guide = (ViewPager) findViewById(R.id.viewPager_guide);
//		initViews();
//	}
////	@Overrides
////	protected void initViews() {
//	private void initViews(){
//		viewPager_guide = (ViewPager) findViewById(R.id.viewPager_guide);
//		List<Fragment> fragmentsList = new ArrayList<Fragment>();
//		for (int i = 0; i < 3; i++) {
//			Fragment fragment = new GuideFragment();
//			Bundle bundle = new Bundle();
//			bundle.putInt("index",i );
//			fragment.setArguments(bundle);
//			fragmentsList.add(fragment);
//		}
//		viewPager_guide.setAdapter(new GuideAdapter(getFragmentManager(),fragmentsList));
//		viewPager_guide.setCurrentItem(0);
//	}
//
////	@Override
////	protected void onViewClick(View v) {
////		// TODO Auto-generated method stub
////		
////	}
//	class GuideAdapter extends FragmentPagerAdapter{
//
//		private List<Fragment> fragmentsList = null;
//
//		public GuideAdapter(FragmentManager fm) {
//			super(fm);
//		}
//
//		public GuideAdapter(FragmentManager fragmentManager, List<Fragment> fragmentsList) {
//			super(fragmentManager);
//			this.fragmentsList = fragmentsList;
//		}
//
//		@Override
//		public Fragment getItem(int position) {
//			return fragmentsList.get(position);
//		}
//
//		@Override
//		public int getCount() {
//			return fragmentsList.size();
//		}
//		
//	}
//    
//}
//
//   
